/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "UI/Widget.h"
#include "UI/ui绘制模板.h"
#include "UI/布局.h"


class C_按钮 : public C_Widget {

public:
	C_按钮(S_UI创建环境* ctx, S_Props* ops, std::wstring 标题 = L"");
	~C_按钮();

	ui_绘制模板_画预设图形	m_背景绘制;
	ui_绘制模板_行文本绘制	m_字符绘制;
	ui_绘制模板_图标		m_图标绘制;

	bool	m_绘制标题;
	bool	m_绘制图标;

	S_Props m_Op;
};







class C_开关 : public C_Widget {

public:
	C_开关(S_UI创建环境& ctx);
	~C_开关();

	bool	m_值;
};





class C_标签 : public C_Widget {

public:
	C_标签(S_UI创建环境& ctx);
	~C_标签();

	std::wstring m_标签文本;

	ui_绘制模板_画预设图形	m_背景绘制;
	ui_绘制模板_行文本绘制	m_字符绘制;

	S_Props m_Value;
};











